package com.sjy.shopmall;

import cn.hutool.extra.spring.EnableSpringUtil;
import com.github.xiaoymin.knife4j.spring.annotations.EnableKnife4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

@EnableTransactionManagement
@EnableWebMvc
@EnableSpringUtil //启动工具
@EnableKnife4j //启动swagger
@SpringBootApplication
public class ShopmallApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShopmallApplication.class, args);
    }

}
